#ifndef MAIN_BEGIN_H
#define MAIN_BEGIN_H
#include "widget.h"
#include "two_player.h"
#include <iostream>
#define Print(v) std::cout << #v << " : " << v << std::endl
#include <QWidget>
namespace Ui {
class main_begin;
}

class main_begin : public QWidget
{
    Q_OBJECT
public:
//自定义信号槽
public slots:
    void Clicked_single();;
    void Clicked_dou();;
public:
    explicit main_begin(QWidget *parent = nullptr);
    ~main_begin();

private:
    Ui::main_begin *ui;
protected:
    //重载函数closeevent
    void closeEvent(QCloseEvent *event) override;
    //创建窗口指针
    Widget *single = nullptr;
    Two_Player *double_ = nullptr;
};



#endif // MAIN_BEGIN_H
